using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    public class MRPDetailsExport
    {
        int detailsexportid;
        string masterexportcode;
        string productcode;
        float quantity;
        int unitcode;

        public MRPDetailsExport()
        {

        }

        public virtual int Detailsexportid
        {
            get { return detailsexportid; }
            set { detailsexportid = value; }
        }

        public virtual string Masterexportcode
        {
            get { return masterexportcode; }
            set { masterexportcode = value; }
        }

        public virtual string Productcode
        {
            get { return productcode; }
            set { productcode = value; }
        }

        public virtual float Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public virtual int Unitcode
        {
            get { return unitcode; }
            set { unitcode = value; }
        }

        public override string ToString()
        {
            String s = "";
            if (detailsexportid != null)
                s += "detailsexportid : " + detailsexportid.ToString() + "\n";
            else
                s += "detailsexportid : null\n";
            if (masterexportcode != null)
                s += "masterexportcode : " + masterexportcode.ToString() + "\n";
            else
                s += "masterexportcode : null\n";
            if (productcode != null)
                s += "productcode : " + productcode.ToString() + "\n";
            else
                s += "productcode : null\n";
            if (quantity != null)
                s += "quantity : " + quantity.ToString() + "\n";
            else
                s += "quantity : null\n";
            if (unitcode != null)
                s += "unitcode : " + unitcode.ToString() + "\n";
            else
                s += "unitcode : null\n";
            return s;
        }
    }
}
